import 'package:flutter/material.dart';
import 'package:flutter_app/ui/pages/home.dart';
import 'package:flutter_app/ui/pages/login.dart';

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: "title",
      theme: new ThemeData(primaryColor: Colors.green),
      home: new HomePage(),
      routes: <String, WidgetBuilder>{
        "home": (BuildContext ctx) => const HomePage(),
        "login": (BuildContext ctx) => const LoginPage(),
      },
    );
  }
}
